<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript">
			var a = prompt("今天星期几？");
			switch(a){
				case "1":
				console.log("星期一");
				break;
				
				case "2":
				console.log("星期二");
				break;
				
				case "3":
				console.log("星球三");
				break;
				
				case "4":
				console.log("星期四");
				break;
				
				case "5":
				console.log("星期五")
				break;
				
				case "6":
				console.log("星期六")
				break;
				
				case "7":
				console.log("星期天")
				break;
				
				default:
				console.log("输出有误，重写");
			}
		</script>
	</head>
	<body>
	</body>
</html>
